﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary
{
    public class Journal
    {
        private int _cpr;
        private string _injuryType;
        private string _description;
        private DateTime _date;
        

        public Journal(int cpr, string injuryType, string description, DateTime date)
        {
            this._cpr = cpr;
            this._injuryType = injuryType;
            this._description = description;
            this._date = date;
        
        }
        public int Cpr
        {
            get { return _cpr; }
            set { _cpr = value; }
        }

        public string InjuryType
        {
            get { return _injuryType; }
            set { _injuryType = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public DateTime Date
        {
            get { return _date; }
            set { _date = value; }
        }
    }
}
